function startRequest()
{
  var tfText = document.getElementById("tfText");
  tfTextTekst = tfText.value;
  var url = "http://localhost/dane.php?tekst=" + tfTextTekst;
  url = encodeURI(url);
  startGETRequest(url, onComplete, onEnd);
}